package cn.xm.pet.service;

import cn.xm.basic.dto.AcceptDto;
import cn.xm.basic.service.BaseService;
import cn.xm.basic.util.PageList;
import cn.xm.pet.domain.SearchMasterMsg;
import cn.xm.pet.query.SearchMasterMsgQuery;
import org.springframework.data.domain.Page;

import java.util.List;


/**
 * <p>
 *  服务类
 * </p>
 *
 * @author xm
 * @since 2022-11-01
 */
public interface SearchMasterMsgService extends BaseService<SearchMasterMsg> {

    void publish(SearchMasterMsg searchMasterMsg);

    PageList<SearchMasterMsg> findByParam(SearchMasterMsgQuery searchMasterMsgQuery);

    void reject(SearchMasterMsg searchMasterMsg);

    void accept(AcceptDto acceptDto,Long shopId);

    PageList<SearchMasterMsg> finish(SearchMasterMsgQuery searchMasterMsgQuery);
}
